package main

import (
	"github.com/micro/go-micro/web"
	"net/http"
)

func main () {
	// 构建
	server := web.NewService(web.Address(":8080"))
	server.HandleFunc("/",func(w http.ResponseWriter ,req *http.Request){
		w.Write([]byte("haaa"))
	})

	server.Run()
}
